package com.xms.security.service.principal;

import com.xms.security.entity.Privilege;

import java.util.List;
import java.util.UUID;

/**
 * <p>
 * ISystemUserPermissionService
 * </p>
 *
 * @author migo
 * @since 2021/9/4
 */
public interface ISystemUserPermissionService {
    Privilege getAuthPrivilege(UUID systemUserId, String areaName, String className, String methodName);

    Privilege getAuthPrivilege(UUID systemUserId, String url);

    List<UUID> getNoneReadFields(UUID systemUserId, List<UUID> securityFields);

    List<UUID> getNoneEditFields(UUID systemUserId, List<UUID> securityFields);

    List<Privilege> getPrivileges(UUID systemUserId);
}
